package com.ruoyi.mall.sms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 优惠券和产品分类关系对象 sms_coupon_product_category_relation
 *
 * @author xuxing
 * @date 2021-02-12
 */
public class SmsCouponProductCategoryRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long couponId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long productCategoryId;

    /** 产品分类名称 */
    @Excel(name = "产品分类名称")
    private String productCategoryName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCouponId(Long couponId)
    {
        this.couponId = couponId;
    }

    public Long getCouponId()
    {
        return couponId;
    }
    public void setProductCategoryId(Long productCategoryId)
    {
        this.productCategoryId = productCategoryId;
    }

    public Long getProductCategoryId()
    {
        return productCategoryId;
    }
    public void setProductCategoryName(String productCategoryName)
    {
        this.productCategoryName = productCategoryName;
    }

    public String getProductCategoryName()
    {
        return productCategoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("couponId", getCouponId())
            .append("productCategoryId", getProductCategoryId())
            .append("productCategoryName", getProductCategoryName())
            .toString();
    }
}
